//首页
import request from '@/plugins/axios'


// 消息分页
export function pageMy(data) {
    return request({
        url: '/msgInfo/pageMy',
        method: 'post',
        data: data
    })
}

// 消息列表
export function listMy(data) {
    return request({
        url: '/msgInfo/listMy',
        method: 'post',
        data: data
    })
}
// 未读数量
export function noReadCountMy(data) {
    return request({
        url: '/msgInfo/noReadCountMy',
        method: 'post',
        data: data
    })
}
// 清除
export function setClear(data) {
    return request({
        url: '/msgInfo/setClear',
        method: 'post',
        data: data
    })
}
// 设置已读
export function setRead(data) {
    return request({
        url: '/msgInfo/setRead',
        method: 'post',
        data: data
    })
}
// 全部已读
export function setAllRead(data) {
    return request({
        url: '/msgInfo/setAllRead',
        method: 'post',
        data: data
    })
}
// 全部清除
export function setAllClear(data) {
    return request({
        url: '/msgInfo/setAllClear',
        method: 'post',
        data: data
    })
}
